﻿using System.Collections.Generic;
using System.Collections;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using System;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Xml.Schema;

namespace ScormModel
{
    [Serializable()]
    public class CompletionThreshold
    {
        private string _completedByMeasure = "false";
        private string _minProgressMeasure = "1.0";
        private string _progressWeight = "1.0";
         [NonSerialized]
        private XmlNode _completionThresholdContent;
        [XmlAttribute("completedByMeasure")]
        public string CompletedByMeasure
        {
            get { return this._completedByMeasure; }
            set { this._completedByMeasure = value; }
        }
        [XmlAttribute("minProgressMeasure")]
        public string MinProgressMeasure
        {
            get { return this._minProgressMeasure; }
            set { this._minProgressMeasure = value; }
        }
        [XmlAttribute("progressWeight")]
        public string ProgressWeight
        {
            get { return this._progressWeight; }
            set { this._progressWeight = value; }
        }
       
        [XmlIgnoreAttribute]
        public XmlNode CompletionThresholdContent
        {
            get { return this._completionThresholdContent; }
            set { this._completionThresholdContent = value; }
        }
        public void buildCompletionThreshold()
        {
            //incomplete

        }

    }
}
